|>$.Spark.!Spark.!Run   Spark Run file
|
| Startup file for Spark
|
WimpSlot -min 160K -max 160K
|
|
If "<Boot$OSVersion>" < 400 Then IconSprites <Obey$Dir>.!Sprites Else IconSprites <Obey$Dir>.4Sprites
Set Alias$@RunType_DDC Run <Obey$Dir>.!Run -l %%*0
Set Alias$@RunType_5F4 Run <Obey$Dir>.!Run -r %%*0
Set File$Type_DDC Archive
Set File$Type_5F4 SparkScr
|
RMEnsure WindowManager 2.00 Error Spark needs a newer Wimp
|
if "<System$Path>" = "" then Error 0 System resources cannot be found
|
|RMEnsure UtilityModule 3.10 Error This application requires RISC OS 3.10 or later
|RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.02 RMLoad System:Modules.CallASWI
|RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.02 Error This application requires CallASWI 0.02 or later
|RMEnsure FPEmulator 4.03 RMLoad System:Modules.FPEmulator
|RMEnsure FPEmulator 4.03 Error This application requires FPEmulator 4.03 or later
|RMEnsure SharedCLibrary 5.17 RMLoad System:Modules.CLib
|RMEnsure SharedCLibrary 5.34 Error This application requires SharedCLibrary 5.34 or later
|
Set Spark$Path  <Obey$Dir>
|
| Uncomment the next line for hard disc etc.
|
|Set Spark$Scrap <Spark$Path>
|
WimpSlot -min 224K
Run "<Spark$Path>.!RunImage" %*0
